﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Microsoft.EntityFrameworkCore;


namespace Dal
{
    public class AppDbContext:DbContext
    {
        public AppDbContext(DbContextOptions<AppDbContext> option) : base(option)
        { 
            
        }

        public DbSet<userInfo> userInfos { get; set; }
        public DbSet<commodityInfo> commodityInfos { get; set; }
        public DbSet<imgsInfo> imgsInfo { get; set; }
        public DbSet<shoppingCart> shoppingCart { get; set; }
        public DbSet<siteInfo> siteInfo { get; set; }
        public DbSet<Ssx> Ssx { get; set; }
        public DbSet<orderFormA> orderFormA { get; set; }
        public DbSet<orderFormB> orderFormB { get; set; }

    }
}
